// 查看台账页面数据
const basicData = {
    birthday: '',
    college: '',
    educationalLevel: '',
    employmentCategory: '',
    employmentStatus: '',
    ethnic: '',
    familyContact: '',
    graduationTime: '',
    helpCategory: [],
    helpResult: 0, // 0已落实 1 未落实
    helperJob: '',
    helperName: '',
    helperPhone: '',
    homeMobile: '',
    id: '',
    idCard: '',
    implementationTime: '',
    mobile: '',
    name: '',
    politicalStatus: '',
    profession: '',
    sex: '',
    studyCard: '',
    unImplementationReason: '',
    enterpriseName: '',
    dataCheckCondition: '',
    dataCheckOther: ''
};

const employListBase = { employPro: '', employProTime: '', id: '' };

const employList = [employListBase, employListBase, employListBase];

const heartListBase = {
    heartTalkContext: '',
    heartTalkTime: '',
    heartTalkPlace: '',
    id: ''
};
const heartList = [heartListBase, heartListBase, heartListBase];

const recommendListBase = {
    id: '',
    recommendEnterpriseName: '',
    recommendMobile: '',
    recommendPeopleName: '',
    recommendPositionName: '',
    recommendSign: -1, // -1 未填写 1 签字 0 不签字
    recommendTime: ''
};
const recommendList = [recommendListBase, recommendListBase, recommendListBase];
const other = '';
const schoolName = '';

// 添加修改页面数据

const essentialInformationForm = {
    birthday: '', // yyyy-MM-dd
    college: '',
    educationalLevel: '',
    ethnic: '',
    graduationTime: '', // yyyy-MM-dd
    homeMobile: '', // 家庭手机号
    idCard: '', // 身份证号
    mobile: '', // 手机号
    name: '', // 姓名
    politicalStatus: '',
    profession: [], // 专业
    sex: '', // 男女
    studyCard: '', // 学号
    familyContact: '' // 家庭联系人
};

const dataCheckConditionForm = {
    dataCheckCondition: '困难群体毕业生',
    dataCheckOther: ''
};

const addHelpersForm = {
    helperName: '',
    helperJob: '',
    helperPhone: ''
};

// 数据核对情况
const dataCheckCondition = '';

const addHelpResultsForm = {
    employmentCategoryOne: '',
    employmentCategoryTwo: '', // 详细
    employmentCategory: '',
    employmentStatus: '',
    implementationTime: '', // yyyy-MM-dd
    enterpriseName: '',
    helpResult: '1',
    unImplementationReason: '' // 当选择未落实毕业去向的时候 未落实原因
};

const heartToHeartTalk = false; // 是否显示谈心谈话弹窗
const heartToHeartTalkForm = {
    place: '',
    date: '',
    conversation: '',
    id: 0,
    createTime: ''
};
const listOfHeartToHeartTalks = []; // 谈心谈话列表
const heartToHeartTalkEdit = null; // 谈心谈话编辑 还是添加

const participationInEmploymentPromotionActivities = false;
const participationInEmploymentPromotionActivitiesForm = {
    nameOfActivity: '',
    participationTime: '',
    id: 0,
    createTime: ''
};
const participationInEmploymentPromotionActivitiesList = [];
const participationInEmploymentPromotionActivitiesEdit = null;

const recommendedPost = false;
const recommendedPostForm = {
    companyName: '',
    nameOfThePost: '',
    unitContact: '',
    contactWay: '',
    recommendedTime: '',
    whetherToSignOrNot: '',
    id: 0,
    createTime: ''
};
const recommendedPostList = [];
const recommendedPostEdit = null;

const otherMeasures = false;
const otherMeasuresText = '';
const otherMeasuresList = [];
const otherMeasuresEdit = null;
const otherId = '0'; // 供给修改页面用的

const disableProp = []; // 保存不可编辑的属性 这里的字段名要和表单的一致

const addHelpersData = {
    essentialInformationForm,
    addHelpersForm,
    addHelpResultsForm,
    heartToHeartTalk,
    heartToHeartTalkForm,
    listOfHeartToHeartTalks,
    heartToHeartTalkEdit,
    participationInEmploymentPromotionActivities,
    participationInEmploymentPromotionActivitiesForm,
    participationInEmploymentPromotionActivitiesList,
    participationInEmploymentPromotionActivitiesEdit,
    recommendedPost,
    recommendedPostForm,
    recommendedPostList,
    recommendedPostEdit,
    otherMeasures,
    otherMeasuresText,
    otherMeasuresList,
    otherMeasuresEdit,
    otherId,
    dataCheckConditionForm,
    disableProp
};

const lookStandingBookData = {
    basicData,
    employList,
    heartList,
    recommendList,
    recommendListBase,
    heartListBase,
    employListBase,
    other,
    schoolName
};

export { addHelpersData, lookStandingBookData };
